<?php

include 'Person.php';
class customer extends Person{
    //registration function
    public function Registration( DB $Mydata,$Tablename,$Name,$Password, $Email,$Phone_Number){
       // $Mydata= new DB();
         $this->Name = $Name;
         $this-> Password= $Password;
         $this->Email = $Email ;
         $this->Phone_Number=$Phone_Number;
         $this-> mydata=$Mydata;
         $Mydata->Insert_Person($Tablename,$Name,$Password, $Email,$Phone_Number);
    }
}
?>


